package com.filldream.fastboot.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.filldream.fastboot.base.entity.Account;
import com.filldream.fastboot.base.request.app.account.ChangePhoneSTO;
import com.filldream.fastboot.base.request.app.account.ResetPwdSTO;
import com.filldream.fastboot.common.util.entity.wx.WxInitSTO;
import com.filldream.fastboot.base.request.app.account.PasswordLoginSTO;
import com.filldream.fastboot.base.response.app.AccountManagerDTO;
import com.filldream.fastboot.common.entity.B;
import com.filldream.fastboot.common.entity.R;

/**
 * @author RickSun && iFillDream
 * @version 1.0
 * @data 2020-05-07 17:38
 * @description AccountService
 */
public interface AccountService  extends IService<Account> {

    //----------前端接口------------

    //微信授权/登陆
    R<AccountManagerDTO> wxLogin(WxInitSTO loginSTO);

    //账号密码登陆
    R<AccountManagerDTO> login(PasswordLoginSTO passwordLoginSTO) ;

    //找回密码
    B reset(ResetPwdSTO resetPwdSTO);
    B changePhone(ChangePhoneSTO changePhoneSTO);

    //登出
    B loginOut();

    //----------后端接口------------
    //----------公共接口------------






}
